import request from '@/utils/request/request';

// 分页条件查询检验单
export function getQueryPage(data: any) {
  return request.post('/api/procurement/order/check-bill/byPage', data);
}
// 检验结论登记-退回
export function updateBack(data: any) {
  return request.put('/api/procurement/order/check-bill/back', data);
}
// 检验结论登记-保存
export function checkBill(data: any) {
  return request.put('/api/procurement/order/check-bill/save', data);
}
// 检验结论登记－申请入库
export function doApplyInInv(data: any) {
  return request.put('/api/procurement/order/check-bill/doApplyInInv', data);
}
// 检验结论登记-单条检验结论查询
export function checkCertification(id: string) {
  return request.get(`/api/procurement/order/check-certification/${id}`);
}
